import service from '@/utils/request'

export const useHighSeasTypeApi = (id: Number) => {
	return service.get('/sys/highseastype/' + id)
}

export const useHighSeasTypeSubmitApi = (dataForm: any) => {
	if (dataForm.id) {
		return service.put('/sys/highseastype', dataForm)
	} else {
		return service.post('/sys/highseastype/save', dataForm)
	}
}
export const useHighSeasTypeFileApi = (dataForm: any) => {
	return service.post('/sys/highseastype/savefile', dataForm)
}
export const useHighSeasTypeListApi = (dataForm: any) => {
	return service.post('/sys/highseastype/list', dataForm)
}
